package org.jeecg.modules.lab.entrust.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.lab.entrust.entity.LabEntrustItems;
import org.jeecg.modules.lab.entrust.entity.LabEntrustItemsIndex;
import org.jeecg.modules.lab.items.vo.LabEntrustItemsIndexPage;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Description: 实验项目指标
 * @Author: jeecg-boot
 * @Date: 2023-12-26
 * @Version: V1.0
 */
@Repository
public interface LabEntrustItemsIndexMapper extends BaseMapper<LabEntrustItemsIndex> {

    /**
     * 通过task_id查询数据
     * @param taskId
     * @return List<LabEntrustItemsIndexPage>
     */
    public List<LabEntrustItemsIndexPage> getItemsIndexByTaskId(@Param("taskId") String taskId);

    public void deleteByTaskId(@Param("taskId") String taskId);
}
